#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include <QMap>

namespace Ui {
class Widget;
}

struct FriendInfo
{
    int id;
    QString  nickname;
    QString  avatar;
    QString  msg;
    QString  date;
};

class Widget : public QWidget
{
    Q_OBJECT

public:
    explicit Widget(QWidget *parent = nullptr);
    ~Widget();

private:
    Ui::Widget *ui;

    QMap<QString ,QVector<FriendInfo>> fList;
};

#endif // WIDGET_H
